package com.ht.baselibs.api;

import com.ht.baselibs.bean.ApkInfoBean;
import com.ht.baselibs.bean.GetBean;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

/**
 * Created by huangtao on 16/7/14.
 */
public interface BaseLibApi {

    @Streaming
    @GET
    Call<ResponseBody> downloadApk(@Url String url);

    @POST
    Call<GetBean<ApkInfoBean>> checkUpdate(@Url String url);
}
